Skip to main content

Pressable

Usage

import { Pressable } from '@universal-labs/primitives' 

// inside your component
// ...
<Pressable className='rounded-full' ...props/>

TODO: DUDAS: ESTE DEBE TENER UN BUTTON ADENTRO?

Props

propvaluesdescription
classNamestringTailwindCSS class

Example

import { Image } from '@universal-labs/primitives'

const MyComponent = () => {
return (
<div className='bg-indigo-300'>
<Nav className='w-100 dark ...' />
</div>
)
}

export default MyComponent